package com.mall.search.service.impl;

import com.mall.search.mapper.SeckillGoodsSearchMapper;
import com.mall.search.model.SeckillGoodsEs;
import com.mall.search.service.ISeckillGoodsSearchService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author Darren
 * @date 2022-09-28 14:48
 * Description：
 */
@Service
public class SeckillGoodsSearchServiceImpl implements ISeckillGoodsSearchService {
    @Autowired
    private SeckillGoodsSearchMapper seckillGoodsSearchMapper;

    @Override
    public void add(SeckillGoodsEs es) {
        seckillGoodsSearchMapper.save(es);
    }
}
